import { createApp } from 'vue'
import App from '@/App.vue'
//svg插件需要配置代码
import 'virtual:svg-icons-register'
//引入自定义插件对象:注册整个项目全局组件
import gloalComponent from '@/components/index'
//引入模板的全局的样式
import '@/styles/index.scss'
//引入路由
import router from './router'
//引入仓库
import pinia from './store'
const app = createApp(App)
//安装自定义插件
app.use(gloalComponent)
//安装仓库
app.use(pinia)
//注册模板路由
app.use(router)
app.mount('#app')
